//
//  NSString+Extention.h
//  Perking
//
//  Created by longmin on 16/7/15.
//  Copyright © 2016年 tim. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Extention)

- (NSString *)lm_md5;
/** 判断是否为纯数字字符串 */
- (BOOL)isPureInt;
/** 从末尾取指定长度的字符串 */
-(instancetype)subStringWithEndLength:(NSInteger)endLength;
/** 去除特殊字符串 */
-(instancetype)lm_stringEscapeSpecialString;
/** 计算字符串的尺寸 */
-(CGSize)lm_sizeForFont:(UIFont *)font;
/** 是否是空白字符 */
- (BOOL)isBlankString:(NSString *)string;

@end
